.user-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 用户头部信息 */
.user-header {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.avatar-section {
    margin-right: 30px;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-info {
    flex: 1;
}

.username {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.user-id {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.user-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.user-stats {
    display: flex;
    gap: 40px;
    padding-left: 30px;
    border-left: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

/* 博客列表部分 */
.user-blogs-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.blog-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 12px -20px;
}

.blog-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.blog-title a:hover {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-title a:hover {
    color: #1677ff;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #888;
}

.blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.blog-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.blog-stats i {
    margin-right: 5px;
}

.no-blogs {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .avatar-section {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .user-stats {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
        border-top: 1px solid #eee;
        padding-top: 20px;
        justify-content: center;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .user-page-container {
        padding: 10px;
    }
    
    .user-header,
    .user-blogs-section {
        padding: 20px;
    }
    
    .username {
        font-size: 24px;
    }
    
    .user-avatar {
        width: 100px;
        height: 100px;
    }
}